Be sure to lock purely optional dependencies
authorAlex Crichton <alex@alexcrichton.com>
Wed, 5 Nov 2014 19:13:04 +0000 (11:13 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 5 Nov 2014 19:39:57 +0000 (11:39 -0800)
commit8670b56af3b239e2c776b7108a7f90fbc5983ec3
treecc71abd8b976106493cb2b4591857875e379d5d2
parent1852281f32076367b041b217608cf70b386bb82f
Be sure to lock purely optional dependencies

Previously all features were traversed when adding information to the lockfile,
but the traversal forgot to add optional dependencies that did not have a
corresponding feature.

Closes #801
src/cargo/core/resolver/mod.rs
tests/test_cargo_features.rs